<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #container {
            width: 800px;
            height: 680px;
        }
    </style>
</head>

<body>
    <!-- 目标容器 -->
    <div id="container"></div>

    <script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.15"></script>

    <script>
        var map = new AMap.Map('container', {
            center: [113.88311, 22.55371],//中心点坐标
        });

        AMap.plugin('AMap.ToolBar', function () {//异步加载插件
            var toolbar = new AMap.ToolBar();
            map.addControl(toolbar);
        });

        // 鹰眼
        AMap.plugin('AMap.OverView', function () {//异步加载插件
            var overView = new AMap.OverView();
            map.addControl(overView);
        });
    </script>
</body>

</html>